function s(select) {
    return document.querySelector(select);
}
window.onload = function () {
    var search = location.search.substr(1);
    var money = search.split('&')[0].split('=')[1];
    var type = search.split('&')[1].split('=')[1];
    s('.p1 i').innerHTML = money;
    s('.p2 i').innerHTML = type;
}